#include"List.h"

void test()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPushBack(plist, 5);
	LTPushBack(plist, 6);
	LTprint(plist);
	LTPushFront(plist, 92);
	LTPushFront(plist, 93);
	LTPushFront(plist, 94);
	LTPushFront(plist, 96);
	LTPushFront(plist, 99);
	LTprint(plist);
	LTPopFront(plist);
	LTprint(plist);

	LTPopBack(plist);
	LTprint(plist);

	LTPopFront(plist);
	LTprint(plist);

	LTPopBack(plist);
	LTprint(plist);

	LTPopBack(plist);
	LTprint(plist);

	LTPopFront(plist);
	LTprint(plist);

	LTPopFront(plist);
	LTprint(plist);

	LTPopFront(plist);
	LTPopFront(plist);
	LTPopFront(plist);
	LTPopFront(plist);
	LTPopFront(plist);
	LTprint(plist);
}

int main()
{
	test();
	return 0;
}